package com.jinmdz.fmis.dao.dao;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.ResultType;
import org.apache.ibatis.annotations.Select;

/**
 * 历史费用记录Dao
 *
 * @author LiCongLu
 * @date 2020-05-14 08:57
 */
public interface HistoryChargeDao {

    /**
     * 查询指定历史记录编号的主键
     *
     * @param historyNo 历史记录编号
     * @return
     * @author LiCongLu
     * @date 2020-05-14 09:00
     */
    @Select(" select id from history_charge where history_no = #{historyNo} limit 1")
    @ResultType(Integer.class)
    Integer getHistoryIdByNo(@Param("historyNo") String historyNo);
}
